package com.mask.im.business.model.entity;

import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author jian
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("sys_user_purse")
public class UserPurse {
	//钱包id
	private Integer id;
	//用户id
	private Integer userId;
	//金额
	private BigDecimal amount;
	//创建时间
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;
	//修改时间
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;
	//当前版本
	private Integer version;
}

